package com.icinfo.cloud.provider.punish.execute.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.icinfo.cloud.provider.punish.ucase.casemain.dto.AppendixDto;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * 描述：执行完成传输对象
 *
 * @author wuzhihui
 * @date 2022/9/9 09:15
 */
@Data
@NoArgsConstructor
public class ExecuteCompleteVo {
    /**
     * 裁执分离主键
     */
    @NotBlank(message = "裁执分离id不能为空")
    private String executeId;

    /**
     * 执行完毕时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @NotNull(message = "执行完毕时间不能为空")
    private Date completeTime;


    /**
     * 执行情况描述
     */
    @NotBlank(message = "执行情况描述不能为空")
    private String completeDesc;

    /**
     * 执行情况凭证列表
     **/
    @NotNull(message = "执行情况凭证不能为空")
    private List<AppendixDto> voucherList;


    /**
     * 裁定书
     */
    @NotBlank(message = "裁定书")
    private String ruleNumber;
    /**
     * 裁定书地址
     */
    @NotBlank(message = "裁定书url")
    private String ruleNumberUrl;
    /**
     * 裁定书附件信息
     **/
    List<ExecuteStageLinkRelateDocumentVo> ruleNumberFile;


    /**
     * 附件信息列表
     **/
    private List<AppendixDto> appendixList;

    private static final long serialVersionUID = 1L;


}
